home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / April 96 / Re OK, now what?.1 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.8 KB  |  [TEXT/ttxt]

  1. Subject:     Re: OK, now what?
  2. Sent:        4/17/96 3:28 PM
  3. Received:    4/17/96 3:51 PM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >I do this all the time, I post a message and then, kinda find my answer,
  9. >but the question now is, how come, ODF swallows RequestEmbeddedFrame? I
  10. >posted my previous question and then searched through the source one more
  11. >time and came to the startling relization that it was swallowed in
  12. >FW_CEmbeddingFrame. 
  13. >
  14. RequestEmbeddedFrame was not yet supported by ODF d11 (don't forget the 
  15. version of ODF you have is a d release). ODFDraw or any other embedding 
  16. parts build with ODF d11 is not supporting RequestEmbeddedFrame. ODF 
  17. Release 1 is now supporting it and ODFDraw and ODFContainer behave 
  18. correctly.
  19.  
  20. >So if I drag my part into a non ODF Frame my second
  21. >frame is created.
  22. Which non-ODF embedding part are you using?
  23.  
  24. >So how do I create the kind of frame that I want to that will work with
  25. >both ODF and non ODF parts? Or do I have to choose which one to work with?
  26. >
  27. >Jer,
  28. >
  29. You have to be aware that embedding part may decide to not support 
  30. RequestEmbeddedFrame.For example the ODFEmbed part can only embed one 
  31. frame at a time. ODFEmbed will never support RequestEmbeddedFrame. So as 
  32. an embedded part you need to be aware of this case, RequestEmbeddedFrame 
  33. may return null. Testing your part with containers that don't support 
  34. RequestEmbeddedFrame is a goog idea.
  35.  
  36. .......................................................................
  37.  Henri Lamiraux                                      lamiraux@apple.com
  38.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  39. .......................................................................
  40.  
  41.  
  42.